import java.util.Scanner;

public class demo1 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        int n= input.nextInt();
        for (int i = 0; i <n ; i++) {
            for (int j = 0; j <n ; j++) {
                if(i==j ||i+j+1==n){                //满足这两个条件其中一个
                    System.out.print("*");
                }

                else{

                    System.out.print(" ");
                }

            }
            System.out.println();
        }
    }
}
